fix: show .stats-container across all viewport widths ≥768px#81
Merged
ThisIs-Developer merged 2 commits intomainfrom May 5, 2026
Merged
fix: show .stats-container across all viewport widths ≥768px#81ThisIs-Developer merged 2 commits intomainfrom
ThisIs-Developer merged 2 commits intomainfrom
Conversation
Agent-Logs-Url: https://github.com/ThisIs-Developer/Markdown-Viewer/sessions/e7db951b-fe40-43c2-bd0d-b04dcf479266 Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
ThisIs-Developer
May 4, 2026 19:34
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…flict Agent-Logs-Url: https://github.com/ThisIs-Developer/Markdown-Viewer/sessions/885bd598-8a4f-4fe8-925d-b7b91082f7c6 Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Deploying markdown-viewer with
|
| Latest commit: |
63a053e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://727a2174.markdown-viewer.pages.dev |
| Branch Preview URL: | https://copilot-fix-stats-container.markdown-viewer.pages.dev |
Deploying markdownviewer with
|
| Latest commit: |
63a053e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8369102e.markdownviewer.pages.dev |
| Branch Preview URL: | https://copilot-fix-stats-container.markdownviewer.pages.dev |
There was a problem hiding this comment.
Pull request overview
This PR adjusts the app header/navbar responsive behavior by consolidating previously scattered media queries and aligning header element visibility with a single <1080px breakpoint, while also updating the stats container’s Bootstrap visibility classes in both the web and desktop-app duplicated assets.
Changes:
- Consolidates multiple responsive navbar-related
@mediablocks into one@media (max-width: 1079px)block (hamburger + stacked panes behavior). - Updates the stats container Bootstrap breakpoint from
d-lg-flextod-md-flexin bothindex.htmlcopies. - Applies the same responsive/CSS changes to the duplicated
desktop-app/resources/*assets.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| styles.css | Removes scattered responsive rules and adds a consolidated <1080px navbar/layout override block. |
| index.html | Changes stats container visibility utility from d-lg-flex to d-md-flex. |
| desktop-app/resources/styles.css | Mirrors the root styles.css responsive consolidation for the desktop app bundle. |
| desktop-app/resources/index.html | Mirrors the root index.html stats container breakpoint change. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+884
to
890
| @media (max-width: 1079px) { | ||
| /* Override Bootstrap d-md-flex / d-md-none so the breakpoint is 1080px */ | ||
| .stats-container, | ||
| .view-mode-group, | ||
| .toolbar { | ||
| display: none !important; | ||
| } |
| <i class="bi bi-github"></i> | ||
| </a> | ||
| <div id="stats-container" class="stats-container d-flex align-items-center d-none d-lg-flex"> | ||
| <div id="stats-container" class="stats-container d-flex align-items-center d-none d-md-flex"> |
Comment on lines
+884
to
890
| @media (max-width: 1079px) { | ||
| /* Override Bootstrap d-md-flex / d-md-none so the breakpoint is 1080px */ | ||
| .stats-container, | ||
| .view-mode-group, | ||
| .toolbar { | ||
| display: none !important; | ||
| } |
| <i class="bi bi-github"></i> | ||
| </a> | ||
| <div id="stats-container" class="stats-container d-flex align-items-center d-none d-lg-flex"> | ||
| <div id="stats-container" class="stats-container d-flex align-items-center d-none d-md-flex"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@media (max-width: 1080px)/@media (max-width: 767px)navbar blocks (6 blocks removed)@media (max-width: 1079px)block that uses!importantto override Bootstrapd-md-none/d-md-flexat the correct 1080px breakpoint@media (max-width: 1280px)compact-desktop block (icon-only view-mode buttons) — no behaviour change needed theredesktop-app/resources/styles.css(duplicate file).toolbar.header-rightselector to.toolbar(code review feedback)